package log;

import java.util.Vector;

public class Logger {

	private static Vector items = new Vector();

	// TODO etapa 3: change log settings
	
	public static void log (String str){
		items.addElement(str);
		System.out.println(str);
	}
	
//	public static void log(String str){
//		System.out.println(str);
//	}
	
	public static Vector getlogs(){
		return items;
	}
	
	public static void clear() {
		items = new Vector();
	}
}
